package com.jye.rseven.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class JsonResult<T> implements Serializable{
    private String code = "0";
    private String msg = "操作成功!";
    private T data;

    public JsonResult(T data) {
        this.data = data;
    }
    public void setData(T data) {
        this.data = data;
    }

}
